
const files = import.meta.glob('../api/**/*.js', {eager: true});
let api = {};
Object.keys(files).forEach((fileName) => {
    let k = fileName.replace(/(.*\/)*([^.]+).*/ig, "$2")
    api[k] = (files[fileName].default)
})
export default api